-- 立即生效的buff
local BuffBase = import(".BuffBase")
local BuffImmediately = class("BuffImmediately", BuffBase)

function BuffImmediately:ctor(entity, whoEntity, config)
    BuffImmediately.super.ctor(self, entity, whoEntity, config)
end

-- 激活buff
function BuffImmediately:awake()
    BuffImmediately.super.awake(self)
    self:_trigger()
end

return BuffImmediately
